home *** CD-ROM | disk | FTP | other *** search
- @if "%1" == "%" goto errmsg
- @if "%2" == "%" goto errmsg
- @if "%1" == "a" goto errmsg2
- @if "%1" == "b" goto errmsg2
- md %1:\machy
- copy *.doc %1:\machy\*.*
- copy seo*.exe %1:\machy\*.*
- copy prepro.bat %1:\machy\*.*
- copy cbltdli.cbl %1:\machy\*.*
- copy seoxmsgs.dat %1:\machy\*.*
- md %1:\machy\%2
- md %1:\machy\%2\exs
- md %1:\machy\%2\copy
- md %1:\machy\%2\cobol
- copy peo.exe %1:\machy\%2\exs\*.*
- %1:
- cd %1:\machy
- @if exist seoexp00.exe goto itsokay
- @echo Warning: The installation was not successful!
- @echo You must change to the install drive before running install.bat
- @goto endit
- :errmsg
- @echo You must run install.bat with two command line parameters:
- @echo 1. the target drive letter. DO NOT INCLUDE THE COLON (:)!
- @echo 2. a one to eight byte name for your set of COBOL programs which will
- @echo be used to create a sub directory of machy. machy is our working
- @echo directory.
- @goto endit
- :errmsg2
- @echo You must specifiy a hard drive
- goto endit
- :itsokay
- @echo installation complete
- :endit
-